package cn.hx.mall_goods.service;

import cn.hx.mall_goods.entity.FlashPromotion;
import cn.hx.mall_goods.entity.PromotionProductRelation;
import cn.hx.mall_goods.entity.PromotionSession;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 限时购表(FlashPromotion)表服务接口
 *
 * @author liufeng
 * @since 2022-12-01 10:58:57
 */

public interface FlashPromotionService {

    FlashPromotion queryRecentOne();

    List<PromotionSession> getSecTime();

    FlashPromotion queryOne(Long flashPromotionId);

    List<PromotionProductRelation> getRelationList();
}
